package com.da.task.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class ScheduledService {

    //@code "0 * * * * MON-FRI"
    //@Scheduled(cron = "0 * * * * SUN-SAT")
    //@Scheduled(cron = "0,1,2,3 * * * * SUN-SAT")
    //@Scheduled(cron = "0-10 * * * * SUN-SAT")
    //@Scheduled(cron = "0/5 * * * * SUN-SAT")
    public void hello() {
        System.out.println("hello...");
    }
}
